#ifndef COMPILER_ONLINE
#include "header.cpp"
#endif

void Test1()
{
    int n=10;
    int res = Solution().NumberOf1(10);
    if (res == 2)
    {
        std::cout << "Test 1 .... OK" << std::endl;
    }
    else
    {
        std::cout << "Test 1 .... Failed" << std::endl;
    }
}

void Test2()
{
    int n=-1;
    int res = Solution().NumberOf1(-1);
    if (res == 32)
    {
        std::cout << "Test 2 .... OK" << std::endl;
    }
    else
    {
        std::cout << "Test 2 .... Failed" << std::endl;
    }
}

int main()
{
    Test1();
    Test2();

    return 0;
}